// vite.config.js
import { defineConfig } from "file:///C:/Users/%E5%B0%8F%E9%A3%9E%E6%A3%8D%E6%9D%A5%E5%96%BD%EF%BC%81/Desktop/%E6%B5%8B%E8%AF%95/car/node_modules/vite/dist/node/index.js";
import vue from "file:///C:/Users/%E5%B0%8F%E9%A3%9E%E6%A3%8D%E6%9D%A5%E5%96%BD%EF%BC%81/Desktop/%E6%B5%8B%E8%AF%95/car/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import Components from "file:///C:/Users/%E5%B0%8F%E9%A3%9E%E6%A3%8D%E6%9D%A5%E5%96%BD%EF%BC%81/Desktop/%E6%B5%8B%E8%AF%95/car/node_modules/unplugin-vue-components/dist/vite.js";
import { VantResolver } from "file:///C:/Users/%E5%B0%8F%E9%A3%9E%E6%A3%8D%E6%9D%A5%E5%96%BD%EF%BC%81/Desktop/%E6%B5%8B%E8%AF%95/car/node_modules/@vant/auto-import-resolver/dist/index.esm.mjs";
import { fileURLToPath, URL } from "node:url";
import postcsspxtoviewport from "file:///C:/Users/%E5%B0%8F%E9%A3%9E%E6%A3%8D%E6%9D%A5%E5%96%BD%EF%BC%81/Desktop/%E6%B5%8B%E8%AF%95/car/node_modules/postcss-px-to-viewport/index.js";
var __vite_injected_original_import_meta_url = "file:///C:/Users/%E5%B0%8F%E9%A3%9E%E6%A3%8D%E6%9D%A5%E5%96%BD%EF%BC%81/Desktop/%E6%B5%8B%E8%AF%95/car/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    Components({
      resolvers: [VantResolver()]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  css: {
    postcss: {
      plugins: [
        postcsspxtoviewport({
          unitToConvert: "px",
          viewportWidth: 375,
          unitPrecision: 6,
          propList: ["*"],
          viewportUnit: "vw",
          fontViewportUnit: "vw",
          selectorBlackList: ["ignore-"],
          minPixelValue: 1,
          mediaQuery: false,
          replace: true,
          exclude: [/^(?!.*node_modules\/vant)/],
          landscape: false
        }),
        postcsspxtoviewport({
          // 要转化的单位
          unitToConvert: "px",
          // UI设计稿的大小
          viewportWidth: 375,
          // 转换后的精度
          unitPrecision: 6,
          // 转换后的单位
          viewportUnit: "vw",
          // 字条转换后的单位
          fontViewportUnit: "vw",
          // 能转换的属性，*表示所有属性，!border表示border不转
          propList: ["*"],
          // 指定不转换为视窗单位的类名，
          selectorBlackList: ["ignore-"],
          // 最小转换的值，小于等于1不转
          minPixelValue: 1,
          // 是否在媒体查询的css代码中也进行转换，默认false
          mediaQuery: false,
          // 是否转换后直接更换属性值
          replace: true,
          // 忽略某些文件夹下的文件或特定文件，例如 'node_modules' 下的文件
          exclude: [],
          // 包含那些文件或者特定文件
          include: [],
          // 是否处理横屏情况
          landscape: false
        })
      ]
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxcdTVDMEZcdTk4REVcdTY4Q0RcdTY3NjVcdTU1QkRcdUZGMDFcXFxcRGVza3RvcFxcXFxcdTZENEJcdThCRDVcXFxcY2FyXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJDOlxcXFxVc2Vyc1xcXFxcdTVDMEZcdTk4REVcdTY4Q0RcdTY3NjVcdTU1QkRcdUZGMDFcXFxcRGVza3RvcFxcXFxcdTZENEJcdThCRDVcXFxcY2FyXFxcXHZpdGUuY29uZmlnLmpzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9DOi9Vc2Vycy8lRTUlQjAlOEYlRTklQTMlOUUlRTYlQTMlOEQlRTYlOUQlQ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